package com.cuit.user;

import lombok.Data;
import lombok.Getter;

@Getter
public enum UserCode {
    LOGIN_FAIL(30000, "登录失败,用户名或密码错误");
    int code;
    String message;

    UserCode(int i, String message) {
        this.code = code;
        this.message = message;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
